package com.qfedu.lc.app.controller;


import com.qfedu.lc.app.service.VipFeign;
import com.qfedu.lc.common.param.UserVipAdd;
import com.qfedu.lc.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
@RequestMapping("/api/user/vip")
public class VipController {

    @Autowired
    private VipFeign vipFeign;

    @PostMapping("/save")
    public R save( @RequestBody UserVipAdd userVipAdd) {

        return vipFeign.save(userVipAdd);

    }

}
